package com.character.util;

import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * @author:高杰领
 * @date:2021/12/8 22:12
 * @description:MD5加密类
 * @version:
 **/
public class MD5Utils {
    public static String md5(String password,String salt){
        String MD5 = "MD5";
        int count = 1000;
        SimpleHash simpleHash = new SimpleHash(MD5,password,salt,count);
        return simpleHash.toString();
    }
}
